TEMPLATE = app
TARGET = VRenderer
QT += core \
    gui \
    opengl
CONFIG += console
#   debug
#CONFIG -= app_bundle
builddir = build
OBJECTS_DIR = $$builddir
MOC_DIR = $$builddir
RCC_DIR = $$builddir
LIBS += 
QMAKE_CXXFLAGS += -O3 \
    -msse3
A = -ftree-vectorize \
    -mfpmath=sse
HEADERS += vRendererGUI.h \
    glwidget.h \
    modelslist.h \
    ui/ColorWidget.h \
    ui/ColorSelector.h \
    ui/ColorSelectionPane.h \
    ../dataengine/VibModelFileManager.h \
    ../dataengine/ModelFileManager.h \
    povparser/POVMesh.h \
    AOProgressDialog.h \
    ../glutil/QGLBindTexture.h
SOURCES += main.cpp \
    glwidget.cpp \
    ui/ColorWidget.cpp \
    ui/ColorSelector.cpp \
    ui/ColorSelectionPane.cpp \
    ../dataengine/VibModelFileManager.cpp \
    ../dataengine/ModelFileManager.cpp \
    ../dataengine/VorestHtmlReader.cpp \
    ../util/Tokenizer.cpp \
    ../geom/Point3D.cpp \
    ../geom/Vector3D.cpp \
    ../geom/Triangle.cpp \
    ../geom/BBox.cpp \
    ../geom/PolyObject.cpp \
    ../geom/PolyMesh.cpp \
    ../geom/MeshPoint.cpp \
    ../geom/Frustum.cpp \
    ../geom/GeomMatrix.cpp \
    ../sceneelems/ground.cpp \
    ../sceneelems/sky.cpp \
    grass.cpp \
    modelslist.cpp \
    glwidgetslots.cpp \
    ../glutil/MeshRenderer.cpp \
    ../glutil/ModelRenderer.cpp \
    ../glutil/FBO.cpp \
    ../glutil/EffectsPass.cpp \
    ../glutil/shaderUtils.cpp \
    ../glutil/FreeCamera.cpp \
    ../algebra/Matrix.cpp \
    povparser/povparser.cpp \
    povparser/POVObject.cpp \
    povparser/POVMesh.cpp \
    povparser/POVMeshAO.cpp \
    povparser/POVMeshNormals.cpp \
    AOProgressDialog.cpp \
    vRendererGUI.cpp \
    ../glutil/GLSupport.cpp \
    ../glutil/GLee.c \
    ../glutil/QGLBindTexture.cpp
FORMS = VorestRendererGUI.ui
RESOURCES += editorResources.qrc
TRANSLATIONS = vrg_es.ts
